import Mock from 'mockjs';

const random = Mock.Random;

export function getKmbByPageSize(pageSize) {
    const users = [
        {
            id:'1',
            name:'17',
            path:[
                [114.1880355, 22.3452604],
                [114.1880355, 22.344160399999993],
                [114.1848678, 22.343726200000006],
                [114.1848678, 22.343726200000006],
                [114.19012489999999, 22.343646800000016],
                [114.19012489999999, 22.340646800000002],
                [114.19012489999999, 22.336646799999997],
                [114.19012489999999, 22.3346468],
                [114.19024824887286, 22.3282323743816],
                [114.19197203271956, 22.31545988291417],
                [114.1897904170235, 22.307344274364535],
                [114.18152180628353, 22.303785089157806],
                [114.16917710000001, 22.29850739999999],
            ],
            children:[
                {id:'101',busstop:'竹園',location:'114.1880355,22.3452604',dist:'1km'},
                {id:'102',busstop:'天虹小學',location:'114.1880355,22.3441604',dist:'1km'},
                {id:'103',busstop:'馬仔坑遊樂場',location:'114.1848678,22.3437262',dist:'1km'},
                {id:'104',busstop:'摩士公園',location:'114.1848678,22.3437262',dist:'1km'},
                {id:'105',busstop:'摩士公園體育館',location:'114.1901249,22.3436468'},
                {id:'106',busstop:'偉東樓',location:'114.1901249,22.3406468'},
                {id:'107',busstop:'盈東樓',location:'114.1901249,22.3366468'},
                {id:'108',busstop:'九龍寨城公園',location:'114.1901249,22.3346468'},
                {id:'109',busstop:'賈炳達道',location:'114.19024824887286,22.328232374381606'},
                {id:'110',busstop:'太子道西',location:'114.1898863,22.3146468'},
                {id:'111',busstop:'喇沙利道',location:'114.1898863,22.3020454'},
                {id:'112',busstop:'伯爵街',location:'114.1898863,22.301454'},
                {id:'125',busstop:'尖沙咀碼頭',location:'114.1691771,22.2985074'},
            ]
        },
        {
            id:'2',
            name:'108',
            children:[
                {id:'113',busstop:'勵德街',location:'114.19696141520659,22.39397885233637'},
                {id:'114',busstop:'拔萃男書院',location:'114.15835183280753,22.38321408246379'},
                {id:'115',busstop:'協和小學',location:'114.1392069161952,22.34684030828611'},
                {id:'116',busstop:'太子站',location:'114.15159024143257,22.33375564371973'},
                {id:'117',busstop:'旺角奶路臣街',location:'114.1685862048329,22.329563082685155'},
                {id:'118',busstop:'旺角豉油街',location:'114.19066617902742,22.328336305793112'},
                {id:'119',busstop:'油麻地永星里',location:'114.19838844850868,22.329905640976865'},
                {id:'120',busstop:'油麻地長樂街',location:'114.20468263411503,22.32971817015997'},
                {id:'121',busstop:'尖沙咀德成街',location:'114.21744820349947,22.334233329330175'},
                {id:'122',busstop:'金馬倫道',location:'114.23502909299785,22.335400753928063'},
                {id:'123',busstop:'尖沙咀中間道',location:'114.24042946079587,22.33650721388347'},
                {id:'124',busstop:'香港文化中心',location:'114.2466915098828,22.33993837601162'},
            ]
        }
    ];
    return users;
}


